//
//  brandView.h
//  XYMaterial
//
//  Created by 肖扬 on 15/12/15.
//  Copyright © 2015年 肖扬. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "getCommonDataMode.h"

@protocol brandViewDelegate <NSObject>

-(void)selectBrand:(tj_brandsModel*)dic;

@end

@interface brandView : UIView<UITableViewDelegate,UITableViewDataSource>
@property (nonatomic, retain) UIView *sectionIndexView;
@property (nonatomic,strong) UITableView *mainTable;
@property (nonatomic,strong) NSMutableDictionary *mainData;
@property (nonatomic,strong) NSMutableArray *indexArray;
@property (nonatomic,strong) NSMutableArray *rightArray;
@property (nonatomic,strong) NSMutableArray *LetterResultArr;
@property (nonatomic) BOOL isShow;
@property (nonatomic,strong) NSMutableArray *tjData;
@property (nonatomic,strong) NSMutableArray *tjArray;
@property (nonatomic,strong) NSString *selectCity;
@property (nonatomic,strong) NSMutableArray *dataArr;
@property (nonatomic,strong) NSMutableArray *sortedArrForArrays;
@property (nonatomic,strong) NSMutableArray *sectionHeadsKeys;
@property (nonatomic,strong) NSString *selectString;
@property (nonatomic,assign) id<brandViewDelegate> delegate;
-(void)reloadView;
-(void)createTJ_BrandView;
@end
